<?php
class User_type_model extends BZ_Model
{
    protected $table = 'user_type';

    public function get_list($id='Y')
    {
        $this->db->from($this->table);
        $this->db->where('isenable','Y');
        $this->db->order_by('type_id','ASC');
        $result = $this->db->get();
        return $result->result();
    }

    public function find()
    {
        $this->db->order_by('type_id','asc');
        return $this->db->get($this->table);
    }

}